Query a Tariff
List all registered bank accounts
GET 'apisandbox-billing-api.delfinance.com.br/billing-accounts'
Headers
Name | Description |
---|---|
x-delfinance-api-key | Required. API key |
Response
On a sucessful here's what you are going to receive:
[
{
"bankAccountNumber": 40312,
"customerDocument": 25583821500135,
"customerName": "dvsdxxc s sd"
},
{
"bankAccountNumber": 10138,
"customerDocument": 12345678910,
"customerName": "dvsdxxc s sd"
}
]
List all registered tariffs to a bank account
GET 'https://apisandbox-billing-api.delfinance.com.br/billing-accounts/bank-account/:bankAccount'
Headers
Name | Description |
---|---|
x-delfinance-api-key | Required. API key |
Path params
Name | Description |
---|---|
bankaccount | Required. The bank account number that you want to fetch |
Response
{
"id": 21,
"customer_bank_account_number": 40312,
"customer_document": 25583851000135,
"fees_json": "[{\"transactionTypeId\":9001,\"price\":50,\"feeType\":\"fixed\"}]",
"last_nsu_invoiced": null,
"enabled": 1,
"created_at": "2024-08-16T16:50:07.000Z",
"last_invoiced_at": "2024-11-26T00:00:00.000Z",
"next_invoice_at": "2024-12-26T00:00:00.000Z",
"invoicing_frequency_json": "{\"amount\":1,\"category\":\"month\"}",
"is_charging_enabled": 1,
"deleted_at": null,
"created_by": "bassic"
}